home *** CD-ROM | disk | FTP | other *** search
- Path: airdmhor.gen.nz!not-for-mail
- From: gumboot@airdmhor.gen.nz (Simon Hosie)
- Newsgroups: comp.lang.c
- Subject: Re: Using own stacks with borlandc
- Date: 30 Jan 1996 05:29:23 +1300
- Organization: Airdmhor
- Message-ID: <4eisl3$9d2@airdmhor.gen.nz>
- References: <4ef339$24q@thor.atcon.com>
- NNTP-Posting-Host: localhost.gen.nz
- X-Newsreader: TIN [version 1.2 PL2]
-
- Konrad Byers:
- > Are there any special compiler options I should be using to set up my
- > own stack in Borlandc. How about assume ds=ss? What should this one
- > be? I'm using a huge memory model.
-
- Turn off stack overflow checking for a start.. umm.. you can assume ds=ss
- if your own stack is near (ie. short near Stack[1024]). If you don't use
- near in the declaration (or if you don't use nmalloc()) then turn it off.
-